package br.com.affero.dao;

import org.hibernate.Session;

import br.com.affero.bean.User;
import br.com.affero.util.HibernateUtil;

public class UserDAO {
	
	public User get(int id) {
		Session session = HibernateUtil.getInstance().getSession();
		User user = (User) session.load(User.class, id);
		return user;
	}
	
}
